package com.xgimi.open.skill.datamanager.service.api;

import com.xgimi.commons.base.Result;
import com.xgimi.open.skill.datamanager.service.request.SlotReqDTO;
import com.xgimi.open.skill.datamanager.service.response.SlotPagequeryRespDTO;
import com.xgimi.open.skill.datamanager.service.response.SlotRespDTO;
import com.xgimi.open.skill.datamanager.service.response.page.PageResult;

import java.util.List;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/3/3 14:21
 */
public interface SlotRpcService {
    public Result<Boolean> addSlot(SlotReqDTO slotReqDTO);

    public Result<PageResult<SlotPagequeryRespDTO>> pageQuery(SlotReqDTO slotReqDTO);

    public Result<Boolean> delete(SlotReqDTO slotReqDTO);

    public Result<Boolean> update(SlotReqDTO slotReqDTO);

    public Result<List<SlotRespDTO>> listByIds(List<Long> ids);

    public Result<List<SlotRespDTO>> listBySlotNames(List<String> slotNames, Long skillVid);
    public Result<List<SlotRespDTO>> listBySkillVid(Long skillVid);
}
